Skip to content

Commit 8131c04

Browse files
committed
doc: Document that extra-arg/extra-arg-before can be used several times
Hopefully, it will help other people
1 parent c96c606 commit 8131c04

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

clang-tools-extra/docs/clang-doc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ Options
8181
8282
--doxygen - Use only doxygen-style comments to generate docs.
8383
--extra-arg=<string> - Additional argument to append to the compiler command line
84+
Can be used several times.
8485
--extra-arg-before=<string> - Additional argument to prepend to the compiler command line
86+
Can be used several times.
8587
--format=<value> - Format for outputted docs.
8688
=yaml - Documentation in YAML format.
8789
=md - Documentation in MD format.

clang-tools-extra/docs/clang-rename.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ That way you can avoid spelling out all the names as command line arguments:
123123
124124
-export-fixes=<filename> - YAML file to store suggested fixes in.
125125
-extra-arg=<string> - Additional argument to append to the compiler command line
126+
Can be used several times.
126127
-extra-arg-before=<string> - Additional argument to prepend to the compiler command line
128+
Can be used several times.
127129
-force - Ignore nonexistent qualified names.
128130
-i - Overwrite edited <file>s.
129131
-input=<string> - YAML file to load oldname-newname pairs from.

clang-tools-extra/docs/clang-tidy/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ An overview of all the command-line options:
155155
stored fixes can be applied to the input source
156156
code with clang-apply-replacements.
157157
--extra-arg=<string> - Additional argument to append to the compiler command line
158+
Can be used several times.
158159
--extra-arg-before=<string> - Additional argument to prepend to the compiler command line
160+
Can be used several times.
159161
--fix -
160162
Apply suggested fixes. Without -fix-errors
161163
clang-tidy will bail out if any compilation

0 commit comments

Comments
 (0)